﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MakeIT.MiraPark.Negocios
{
    public class CabineVO
    {
        protected CabineVO() { }
                
        public static CabineVO CreateCabineVO()
        {
            CabineVO cabine = new CabineVO();
            cabine.patioVO = PatioVO.CreatePatioVO();
            return cabine;
        }
        public static CabineVO CreateCabineVO(int idCabine, string cabine, int idPatio)
        {
            CabineVO cabineVO = CreateCabineVO();
            cabineVO.idCabine = idCabine;
            cabineVO.cabine = cabine;
            cabineVO.idPatio = idPatio;
            return cabineVO;
        }

        public int idCabine
        {
            get { return this._idCabine; }
            set { this._idCabine = value; }
        }
        private int _idCabine;

        public string cabine
        {
            get { return this._cabine; }
            set { this._cabine = value; }
        }
        private string _cabine;

        public int idPatio
        {
            get { return patioVO.idPatio; }
            set { patioVO.idPatio = value; }
        }
        private int _idPatio;

        public PatioVO patioVO
        {
            get { return _patioVO; }
            set { _patioVO = value; }
        }
        private PatioVO _patioVO;

        public override string ToString()
        {
            return _cabine;
        }
    }
}
